package com.cp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.cp")
public class SpringBootDemo {

    public static void main(String[] args) {
        //启动springboot 应用程序同时，同时启动tomcat。
        SpringApplication.run(SpringBootDemo.class, args);
    }
}

